import { ComputedRef, Ref } from "vue";
import { trademark, trademarkInfo } from "@/api/product/trademarkApi/interface.ts";
import { pageParamsInterface } from "@/views/product/trademark/interface/interface.ts";

export interface trademarkStore {
  trademarkInfo: Ref<trademarkInfo | null>;
  trademarkList: Ref<trademark[] | undefined>;
  total: ComputedRef<number | undefined>;
  fetchTrademarkList: (pageParams: pageParamsInterface) => Promise<void>;
  deleteTradeMark: (id: number) => Promise<string>;
  addTradeMark: (trad: trademark) => Promise<string>;
  updateTradeMark: (trad: trademark) => Promise<string>;
}
